package retrofitdemo.com.night.activity;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;

import retrofitdemo.com.night.R;
import retrofitdemo.com.night.bean.FindListCallback;
import retrofitdemo.com.night.databinding.ActivityMoreBinding;

public class MoreActivity extends BaseActivity {

    ActivityMoreBinding binding;
    FindListCallback.ResultBean resultBean;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this,R.layout.activity_more);
        binding.setActivity(this);
        initView();
    }

    private void initView() {
        setBack();
        setTitleText("更多");
        resultBean = (FindListCallback.ResultBean) getIntent().getSerializableExtra("module_bean");
        binding.setBean(resultBean);
    }
}
